/**
 * Created by joustany on 17/12/20.
 */
shareHaer = function (token,shareId) {
   $.ajax({
       method:'get',
       url:configApi('/coupon/share-success'),
       dataType:'json',
       data:{
           access_token:token,
           share_id:shareId,
       },
       success:function (res) {
           "use strict"
           if (!res.success){
               // alert(res.message)
           }
       },
       error:function () {
           layer.open({
               content: "服务器异常,请退出重试"
               ,skin: 'msg'
               ,time: 2 //2秒后自动关闭
           });
       }
   })
}
